/**
 * Created by lizhe on 2018/4/18.
 */
$(document).ready(function(){
    var pic1 = document.getElementById("pic1");
    var pic2 = document.getElementById("pic2");
    var pic3 = document.getElementById("pic3");
    var p1 = 0;
    var t1 = setInterval(function(){
        if(p1!= 10){
            pic1.style.opacity = parseFloat(pic1.style.opacity) + 0.1;
            pic2.style.opacity = parseFloat(pic2.style.opacity) + 0.1;
            pic3.style.opacity = parseFloat(pic3.style.opacity) + 0.1;
            p1++;
        }else{
            clearInterval(t1);
            location.href = "index.html";
        }
    },100);
});